package com.ems.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * <p>
 * 工单
 * </p>
 *
 * @author WuZH
 * @since 2023-11-04
 */
@Data
@ApiModel ( value = "OrderEntity对象", description = "工单" )
public class OrderVo extends BaseVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty ( "id" )
    private String id;

    @ApiModelProperty ( "电站Id" )
    private String stationId;

    @ApiModelProperty ( "电站名称" )
    private String stationName;

    @ApiModelProperty ( "工单类型;1:巡视检查;2:故障检修;3:维护保养" )
    private Integer orderType;

    @ApiModelProperty ( "期望开始时间" )
    private Date hopeStartTime;

    @ApiModelProperty ( "期望结束时间" )
    private Date hopeEndTime;

    @ApiModelProperty ( "工单来源;1:手动创建;2:警告自动生成" )
    private Integer orderSource;

    @ApiModelProperty ( "工单内容简单描述" )
    private String info;

    @ApiModelProperty ( "创建时间" )
    private Date createTime;

    private Date changeTime;

    private Integer isUsed;

}
